import request from '@/service'

enum Api {
  timeLog = '/api/timelog',
  testPost = '/api/postTestList',
  testPatch = '/api/patchTestList',
  testPut = '/api/putTestList',
  testDelete = '/api/deleteTestList'
}

export const getTimeLog = (params?: any) => {
  return request.get<any>(Api.timeLog, { params: params })
}
export const testPost = (data: any) => {
  return request.post<any>(Api.timeLog, data)
}
